<template>
  <div>
    <h3>选择你喜欢的专栏:</h3>
    <input type="checkbox" v-model="column" value="科幻" />科幻
    <input type="checkbox" v-model="column" value="喜剧" />喜剧
    <input type="checkbox" v-model="column" value="动漫" />动漫
    <input type="checkbox" v-model="column" value="冒险" />冒险
    <input type="checkbox" v-model="column" value="科技" />科技
    <input type="checkbox" v-model="column" value="军事" />军事
    <input type="checkbox" v-model="column" value="娱乐" />娱乐
    <input type="checkbox" v-model="column" value="奇闻" />奇闻

    <ul v-if="column.length > 0">
      <li v-for="(item, index) in column" :key="index">{{ item }}</li>
    </ul>
  </div>
</template>

<script>
export default {
  name: "VuecliZuoyeApp",

  data() {
    return {
      column: [],
    };
  },

  methods: {},
};
</script>

<style lang="scss" scoped>
</style>